package homework.ooday02.Person;

public class PersonTest {
    public static void main(String[] args) {
        Student student = new Student("张光",20,"北京","jsd2306",006);
        student.study();
        student.sayHi();
        Teacher teacher = new Teacher("李林",30,"上海",10000);
        teacher.teach();
        teacher.sayHi();
        Doctor doctor = new Doctor("王海",50,"四川","主任医师");
        doctor.cut();
    }
}
